home *** CD-ROM | disk | FTP | other *** search
- >
- > > about wolf on the ST. I am VERY interested in this as my own 3d engine
- > > is entirely written in C and hence very portable. My 3d engine is
- > > at themoment in fact a wolf3d engine (so not 3d at all :-) ).
- >
- > :-)
- >
- > > wolf is about 20fps on a falcon. hm. I am a bit surprised. shouldn't
- > > it be much faster? wolf3d is really simple. Then again I have no
-
- There's probably a very simple reason for the speed.
- Assuming 320x200 TC mode: 320 * 200 * 2 * 20 = 2560000
-
- That's the amount of data that will need to be written to screen every
- second unless some way can be found to skip drawing some parts (that should
- be possible in Wolf3D, but might not be worth it).
- IIRC the Falcon's maximum memory bandwidth (for the processor) is something
- like 6Mbyte/s...
-
- A lower resolution may of course be used to lower the bandwidth requirements.
-
- > > idea what techniques are used and whether there is any DSP code in
- > > the wolf engine.
- >
- > Well it doesn't use the DSP as it works on all Ataris including ST.
-
- It's of course very easy to make the program realize what machine it's on
- and only use the DSP if it's available. I can't imagine the program is
- using ST low on the Falcon.
-
- Running in ST low would require chunky to planar conversion and that is
- not very nice for frame rates on standard Falcons and STs.
-
- > I don't think 20fps is that bad as it's written in C. I have seen some
- > other Wolf engines for the falcon writtein in assembler (DSP and 030)
- > and I wouldn't say that they were faster than 20fps.
-
- 'wc -l *.ASM' indicates that Wolf3D has over 3000 lines of 80x86 assembly
- (including comments) and I'd be surprised if those haven't been converted
- to m68k assembly rather than C code. For an engine as simple as Wolf3D,
- the time for texture mapping is probably very dominant.
-
- --
- Chalmers University | Why are these | e-mail: rand@cd.chalmers.se
- of Technology | .signatures | johan@rand.thn.htu.se
- | so hard to do | WWW/ftp: rand.thn.htu.se
- Gothenburg, Sweden | well? | (MGIFv5, QLem, BAD MOOD)
-
-